package com.mkb.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.mkb.entity.GraphDTO;

public interface GraphService {
    Boolean deleteById(Long id) throws Exception;

    Long create(GraphDTO record)throws Exception;

    Boolean updateAttr(GraphDTO record)throws Exception;

    GraphDTO getById(Long id)throws Exception;

    Boolean update(GraphDTO record)throws Exception;

    PageInfo<GraphDTO> queryPage(GraphDTO graphDTO)throws Exception;

    List<GraphDTO> queryList(GraphDTO graphDTO)throws Exception;

    GraphDTO getAttr(Long graphId)throws Exception;

    List<GraphDTO> queryFullList(GraphDTO build)throws Exception;
}